FMeinicke's Wiki

Home

❯

Linux

❯

Commands

❯

`date` milliseconds since epoch

`date` milliseconds since epoch

May 26, 20251 min read

  • date

date

Source

  • https://serverfault.com/a/588705/600279
  • use %N to get the nanoseconds or %3N to truncate to milliseconds
$ date +%s%N
1741787785964178320
$date +%s%3N
1741787794337

Graph View

Created with Quartz v4.5.0 © 2025

  • GitHub